//TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
// click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
public class Main {
    public static void main(String[] args) {
        int i = 1;
        complex_Number c1 = new complex_Number(5,  i);
        complex_Number c2 = new complex_Number(2,  i);
        System.out.println("sum = "+complex_Number.complex_Number_sum(c1, c2));
        System.out.println("mul = "+complex_Number.complex_Number_multi(c1, c2));
        System.out.println(c1.toString());
        System.out.println(c2.toString());
        System.out.println("====更改后（执行set方法）=====");
        c1.set_Real_part(2);
        c2.set_Real_part(9);
        System.out.println(c1.toString());
        System.out.println(c2.toString());
    }
}